// ActionScript file
import com.helloniu.red5.info.UserInfo;

override protected function createDP():Array {
	var dp:Array = new Array();
	var o:Object = new Object();
	o.label = "None";
	o.data = null;
	dp.push(o);
	
	for(var i:int = 0; i < oldInfo.length; i++) {		
		var userInfo:UserInfo = oldInfo[i] as UserInfo;
		
		if(!userInfo.isVideoOpen()) {
			continue;
		}
		
		o = new Object();
		o.label = userInfo.userID;
		o.data = userInfo;
		
		dp.push(o);
	}

	return dp;	
}